{template header}
<style type="text/css">
  .boardDiv{margin-bottom: 10px;}
  .boardList{margin: 10px auto;}
  .boardList li{list-style-type:none;float:left;margin:2px 9px;background-color:#dbeaf9;padding:5px;cursor:pointer;border-radius: 8px;}
  .slasherSettingDiv{clear:both;}
  .bs-docs-example{padding-top: 20px;}
  label{float: left;padding-right: 20px;}
</style>
<div class="boardDiv">
  <button class="btn" disabled="disabled">版块：</button>
  <ul id="boardList" class="boardList">
    {loop $boardList $k $name}
      <li data-value="{$k}"><a href="index.php?c=admin&a=board&boardId={$k}">{$name}</a></li>
    {/loop}
    {if $action != 'add'}<li><a href="index.php?c=admin&a=board&action=add">添加一个</a></li>{/if}
  </ul>
</div>
{template footer}